
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>layui</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/business/layui/css/layui.css"
	media="all">
<link
	href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
	rel="stylesheet">
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/business/ui/common/css/font_bmgv5kod196q1tt9.css">
<script>
	
</script>
</head>
<input id="remark" value="1" type="hidden"/>
<input id="temp" value="1" type="hidden"/>
<body style="width: 99%; background: #FFFFFF;">
	<input type="hidden" id="contextPath" name="contextPath"
		value="${pageContext.request.contextPath}" />

	<div class="layui-tab layui-tab-brief" lay-filter="cate">
		<div class="layui-tab-content" style="height: 100px;">
			<div class="layui-tab-item layui-show">

				<div id="divtree" name="divtree"
					style="display: inline-block; width: 300px; height: 750px; padding: 0px; border: 1px solid #ddd; float: left; overflow: auto;">
					<ul id="treelist"></ul>
					<input id="choosemenuid" type="hidden" name="choosemenuid"
						value="0">
				</div>

				<div
					style="display: inline-block; width: 700px; height: 750px; padding: 0px; border: 1px solid #ddd; float: left; overflow: auto;">
					<table class="layui-table"
						style="display: inline-block; width: 650px; min-width: 650px; height: 50px; padding: 0px; border: 0px solid #ddd; float: left; overflow: auto;">
						<colgroup>
							<col width="650">
							<col>
						</colgroup>
						<tbody>
							<tr>
								<td>${buttom}</td>
							</tr>
						</tbody>
					</table>
					<form class="layui-form" id="formedit" name="formedit">
						<table class="layui-table" id="tabledetails"
							style="display: inline-block; width: 650px; min-width: 650px; height: 550px; float: left; overflow: auto;">
							<colgroup>
								<col width="200">
								<col width="450">
								<col>
							</colgroup>
							<tbody>
								<tr style="height: 40px">

									<td align="right">名称<font color="red"
										style="vertical-align: bottom;">*</font></td>
									<td><input id="menuName" type="text" name="menuName"
										autocomplete="off" class="layui-input" placeholder="请输入名称"
										datatitle="名称" datarequired="true" datalength="20"
										datavalidate="true"></td>
								</tr>

								<tr style="height: 40px">
									<td align="right">菜单地址/按钮事件</td>
									<td><input id="href" type="text" name="href"
										autocomplete="off" class="layui-input" placeholder="二级菜单需要填写"
										datatitle="菜单地址" datarequired="false" datalength="50"
										datavalidate="true"></td>

								</tr>
								<tr style="height: 40px">
									<td align="right">序号<font color="red"
										style="vertical-align: bottom;">*</font></td>
									<td><input id="menuOrder" type="text" name="menuOrder"
										value="1" autocomplete="off" class="layui-input"
										placeholder="请输入序号(数字)" datatitle="序号" datarequired="true"
										datatype="number" datalength="20" datavalidate="true">
									</td>
								</tr>
								<tr style="height: 40px">
									<td align="right">上级菜单</td>
									<td><input id="menunamelast" type="text" name=""
										menunamelast"" readonly="readonly" autocomplete="off"
										class="layui-input" placeholder="请选择上级菜单" datavalidate="false">
										<input id="pid" type="hidden" name="pid" value="0" />
										<input id="id" type="hidden" name="id" value="0" />
								</tr>
								<tr style="height: 40px">
									<td align="right">类别</td>
									<td><input type="radio" lay-filter="kind"
										class="kind" name="kind" value="1" title="菜单"
										checked="checked"> <input type="radio"
										lay-filter="kind" class="kind" name="kind" value="0"
										title="按钮">
										<input id="menuIcon" type="hidden" name="menuIcon" value="fa fa-edit">
									</td>
								</tr>
								<tr style="height: 40px">
									<td align="right">是否禁用</td>
									<td><input type="radio" lay-filter="isdelete"
										class="isdelete" name="isDelete" value="1" title="启用"
										checked="checked"> <input type="radio"
										lay-filter="isdelete" class="isdelete" name="isDelete" value="0"
										title="禁用">
									</td>
								</tr>
								<tr style="height: 40px">

									<td align="right">按钮样式</td>
									<td><i id="choosebtn" name="choosebtn" class="fa fa-edit"
										aria-hidden="true"></i></td>
								</tr>
								<tr style="height: 40px">

									<td align="right">按钮图标</td>
									<td>
										<ul>
											<a href=# onclick="choosebtn('fa fa-plus-square');"> <i
												class="fa fa-plus-square" aria-hidden="true"><span
													class="hidden">(新增)</span></i>
											</a>
											<a href=# onclick="choosebtn('fa fa-file-excel-o');"> <i
												class="fa fa-file-excel-o" aria-hidden="true"><span
													class="hidden">(导入)</span></i>
											</a>
											<a href=# onclick="choosebtn('fa fa-edit');"> <i
												class="fa fa-edit" aria-hidden="true"><span
													class="hidden">(修改)</span></i>
											</a>
											<a href=# onclick="choosebtn('fa fa-trash-o');"> <i
												class="fa fa-trash-o" aria-hidden="true"><span
													class="hidden">(删除)</span></i>
											</a>
											<a href=# onclick="choosebtn('fa fa-toggle-up');"> <i
												class="fa fa-toggle-up" aria-hidden="true"><span
													class="hidden">(上移)</span></i>
											</a>
											<a href=# onclick="choosebtn('fa fa-toggle-down');"> <i
												class="fa fa-toggle-down" aria-hidden="true"><span
													class="hidden">(下移)</span></i>
											</a>
											<a href=# onclick="choosebtn('fa fa-print');"> <i
												class="fa fa-print" aria-hidden="true"><span
													class="hidden">(打印)</span></i>
											</a>
											<a href=# onclick="choosebtn('fa fa-refresh');"> <i
												class="fa fa-refresh" aria-hidden="true"><span
													class="hidden">(清空)</span></i>
											</a>

											<a href=# onclick="choosebtn('fa fa-lock');"> <i
												class="fa fa-lock" aria-hidden="true"><span
													class="hidden">(禁用)</span></i>
											</a>
											<a href=# onclick="choosebtn('fa fa-check-square');"> <i
												class="fa fa-check-square" aria-hidden="true"><span
													class="hidden">(启用)</span></i>
											</a>
											<a href=# onclick="choosebtn('fa fa-tag');"> <i
												class="fa fa-tag" aria-hidden="true"><span
													class="hidden">(设置)</span></i>
											</a>

											<a href=# onclick="choosebtn('fa fa-reply');"> <i
												class="fa fa-reply" aria-hidden="true"><span
													class="hidden">(取消)</span></i>
											</a>


											<a href=# onclick="choosebtn('fa fa-binoculars');"> <i
												class="fa fa-binoculars" aria-hidden="true"><span
													class="hidden">(查看)</span></i>
											</a>
											<a href=# onclick="choosebtn('fa fa-bar-chart');"> <i
												class="fa fa-bar-chart" aria-hidden="true"><span
													class="hidden">(统计)</span></i>
											</a>
											<a href=# onclick="choosebtn('fa fa-pencil');"> <i
												class="fa fa-pencil" aria-hidden="true"><span
													class="hidden">(发布)</span></i>
											</a>
										</ul>
									</td>
								</tr>
								<tr style="height: 40px">
									<td align="right">备注</td>
									<td class="layui-input-block">
			    						<textarea id="comment" name="comment" required="" lay-verify="comment" placeholder="请输入内容" class="layui-textarea"></textarea>
			    					</td>
								</tr>
							</tbody>
						</table>
					</form>
				</div>
			</div>
		</div>
	</div>
	<script
		src="${pageContext.request.contextPath}/business/layui/layui.js"
		charset="utf-8"></script>
	<script src="${pageContext.request.contextPath}/business/jquery.js"
		charset="utf-8"></script>
	<script
		src="${pageContext.request.contextPath}/business/jquery-mxygshop-min.js"
		charset="utf-8"></script>
	<script src="${pageContext.request.contextPath}/js/common.js"
		charset="utf-8"></script>
	<script
		src="${pageContext.request.contextPath}/js/menu/edit.js?<%=Math.random()%>"
		charset="utf-8"></script>
</body>
</html>